﻿// <copyright file="InformationCardReference.cs" company="SharpSTS">
// Copyright (c) 2007, 2008 All Right Reserved, http://sharpsts.com/
//
// This source is subject to the Microsoft Permissive License.
// Please see the License.txt file for more information.
// All other rights reserved.
//
// THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 
// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// </copyright>
// <author>Barry Dorrans</author>
// <email>barryd@idunno.org</email>
// <date>2008-06-11</date>
// <summary>Provides a data contract for faults containing Information Card Details.</summary>

namespace SharpSTS
{
    using System.Runtime.Serialization;

    /// <summary>
    /// Provides a data contract for faults containing Information Card Details.
    /// </summary>
    [DataContract(Namespace = Constants.WSIdentity.Namespace.Uri)]
    public class InformationCardReference
    {
        /// <summary>
        /// Gets or sets the Identifier of the information card used.
        /// </summary>
        [DataMember]
        public string CardId
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the version of the information card used.
        /// </summary>
        [DataMember]
        public int CardVersion
        {
            get;
            set;
        }
    }
}
